/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.univcasa.biz.impl;

import com.univcasa.biz.SyncComptesENTLdap;
import com.univcasa.db.model.CompteEtudiant;
import com.univcasa.db.model.ComptePersonnel;
import com.univcasa.db.model.Criteres;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;

/**
 *
 * @author issam
 */
public class testComptes2Ldap {
    public static void main(String[] args){

        SyncComptesENTLdap manager = new SyncComptesENTLdapImpl();
        Criteres form = new Criteres();
        form.addCritere("annee", "%" );
        form.addCritere("apogee", "%");

        //manager.ajouterComptesEntStudentssurLdap( form );
        //manager.initStudentsLdapSurComptesENT();
        //manager.initPersLdapSurComptesENT();

        List lista = manager.ajouterComptesEntPersssurLdap(form);

        for (Iterator itr = lista.iterator();itr.hasNext();){
            ComptePersonnel std = (ComptePersonnel) itr.next();
            System.out.println( std );
        }

    }
}
